#ifndef WF_SETSNAPMODE_H
#define WF_SETSNAPMODE_H

#include "pf_actioninterface.h"
#include "gui_export.h"

/**
 * This action changes the current snap mode.
 *
 */
class GUI_EXPORT WF_SetSnapMode : public PF_ActionInterface {
	Q_OBJECT
public:
    WF_SetSnapMode(PF_Container& container,
                         PF_GraphicView& graphicView,
                         LX_Define::SnapMode snapMode);
    ~WF_SetSnapMode() {}

    virtual void init(int status=0);
    virtual void trigger();

protected:
    LX_Define::SnapMode snapMode;
};

#endif
